package com.yhyvr.pojo.req.api.store.buycard;/**
 * Created by zhangqin on 2017/5/25.
 */

import com.yhyvr.pojo.req.api.ApiReqBody;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Min;

/**
 * 保存购物车
 *
 * @author
 * @create 2017-05-25 15:51
 **/

public class ApiStoreBuyCardSaveReq extends ApiReqBody {

    @NotBlank
    private String goodsId;
    @Min(0)
    private int goodsNumber=0;
    private int goodsType;

    public int getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(int goodsType) {
        this.goodsType = goodsType;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public int getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(int goodsNumber) {
        this.goodsNumber = goodsNumber;
    }
}
